<!DOCTYPE html >
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">
<h:head>
	<link rel="shortcut icon" href="../images/primescrum.ico" />
	<!--  <h:outputStylesheet name="style.css" />-->
	<link href="../css/taskboard.css" type="text/css" rel="stylesheet"/>
	<link href="../css/styles.css" type="text/css" rel="stylesheet"/>
	<meta HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE"/>
	<title>
		<ui:insert name="titulo">
			Prime_Scrum
		</ui:insert>
	</title>
	
</h:head>
<h:body>
	<p:layout fullPage="true">

		<p:layoutUnit position="north" size="75" header="Prime Scrum"
			resizable="false" closable="false" collapsible="false" style="text-align:center">
				<p:outputLabel value="Bem vindo "> #{loginController.usuarioLogado.nome} </p:outputLabel>
				<p:commandButton value="Sair"  actionListener="#{loginController.logout}"  type="submit"	icon="ui-icon-check" style="margin:0"/>
		</p:layoutUnit>

		<p:layoutUnit position="west" size="190" header="Menu"
			resizable="false" closable="false" collapsible="false">
			<h:form>
				<p:growl id="menuprincipal" />
				<p:menu style="width:95%">
					<p:submenu label="Dados Pessoais">
						<p:menuitem value="Dados Pessoais"	action="/restrict/AlterarScrumMaster.jsf" ajax="false" icon="" />
					</p:submenu>
					
					<p:submenu label="Gerenciar Pessoas">
						<p:menuitem value="Scrum Master" action="/restrict/CadastrarScrumMaster.jsf" ajax="false" icon="" />
						<p:menuitem value="Desenvolvedor" action="/restrict/CadastrarDesenvolvedor.jsf" ajax="false" icon="" />
						<p:menuitem value="Cliente" action="/restrict/CadastrarCliente.jsf" ajax="false" icon="" />
					</p:submenu>

					<p:submenu label="Projetos">
						<p:menuitem value="Adicionar Projeto"	action="/restrict/CadastrarProjeto.jsf" ajax="false" icon="" />
						<p:menuitem value="Projetos Existentes"	action="/restrict/ListaProjetos.jsf" ajax="false" icon="" />
					</p:submenu>
					
				</p:menu>
			</h:form>
			<!--  <ui:include src="./tiles/LeftMenu.xhtml" /> -->
		</p:layoutUnit>

		<!--    <p:layoutUnit position="east" size="200" header="Help" resizable="true" closable="true" collapsible="true" effect="drop">
                <h:outputText value="Right unit content." />
            </p:layoutUnit> -->

		<p:layoutUnit position="center">
			<!-- <ui:include src="./tiles/TabView.xhtml" />-->
			<ui:insert name="content">Put default content here, if any.</ui:insert>
		</p:layoutUnit>

		<p:layoutUnit position="south" size="45" resizable="false"
			closable="false" collapsible="false">

		</p:layoutUnit>
	</p:layout>
</h:body>
</html>
